//void, Obj owner

if (owner.AsHero.IsDead){
	EnvWriteInt(owner.AsHero.player, "LeaderOfNation", 0);
}
